package com.wmx.mp.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author 汪茂雄
 * @since 2023-03-05
 */
@TableName("BAS_AGENCY")
public class BasAgency implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 单位ID
     */
    @TableId
    private Long agencyId;

    /**
     * 单位编码
     */
    private String agencyCode;

    /**
     * 单位名称
     */
    private String agencyName;

    /**
     * 地址
     */
    private String loc;

    private Object lastYearExpenditure;

    /**
     * 创建日期
     */
    private Date createTime;

    /**
     * 更新日期
     */
    private Date updateTime;

    /**
     * 是否删除(1是2否)
     */
    private Integer isDelete;

    public Long getAgencyId() {
        return agencyId;
    }

    public void setAgencyId(Long agencyId) {
        this.agencyId = agencyId;
    }

    public String getAgencyCode() {
        return agencyCode;
    }

    public void setAgencyCode(String agencyCode) {
        this.agencyCode = agencyCode;
    }

    public String getAgencyName() {
        return agencyName;
    }

    public void setAgencyName(String agencyName) {
        this.agencyName = agencyName;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public Object getLastYearExpenditure() {
        return lastYearExpenditure;
    }

    public void setLastYearExpenditure(Object lastYearExpenditure) {
        this.lastYearExpenditure = lastYearExpenditure;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "BasAgency{" +
                "agencyId = " + agencyId +
                ", agencyCode = " + agencyCode +
                ", agencyName = " + agencyName +
                ", loc = " + loc +
                ", lastYearExpenditure = " + lastYearExpenditure +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                ", isDelete = " + isDelete +
                "}";
    }
}
